]> dgit.raspbian.org Git - gnome-shell.git/commit
app: Consider "new-window" action for opening new windows
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 22 Sep 2016 16:29:29 +0000 (18:29 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 30 Jul 2018 19:21:40 +0000 (19:21 +0000)
commit3efd296fc322c7ddf3f544595c2d31e467ecd393
tree8a6f286ef640c3129e05b1085447af060d527553
parent6688610c2391e5be24fb2c56e75a3cd2cbaf8671
app: Consider "new-window" action for opening new windows

While can_open_new_window() uses some elaborate heuristics to predict
whether an application can open multiple windows, open_new_window()
will always simply relaunch the application. This is often the best
we can do, but when an application provides a "new-window" action in
its .desktop file or on the bus, it is much more likely to work as
expected than blindly activating the app and hoping for a particular
behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=756844
src/shell-app.c